﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="flashad_manage.aspx.cs" Inherits="web.manage.flashad_manage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <link href="css/css.css" rel="stylesheet" type="text/css" /><link href="css/css_list.css" rel="stylesheet" type="text/css" /><link href="css/control.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
     <div class="listnavi">
        <div class="listnavititle">【 广告编辑 】</div>
    </div>
    <div>
    <table width="600">
	    <tr>
	    <th align="left">广告描述</th>
	    <th align="left">图片路径</th>
	    <th align="left">链接地址</th>
	    <th align="left">广告排序</th>
	    <th align="left">添加日期</th>
	    <td align="left">操作</td>
	    </tr>
	    <asp:Repeater ID="rptList" runat="server" onitemcommand="rptList_ItemCommand">
	    <ItemTemplate>
	    <tr>
	    <td align="left"><%#Eval("description")%></td>
	    <td align="left"><img src='<%#Eval("imagePath")%>' width="200" height="100" /></td>
	    <td align="left"><%#Eval("linkUrl")%></td>
	    <td align="left"><%#Eval("adOrder")%></td>
	    <td align="left"><%#Eval("addDate","{0:yyyy-MM-dd}")%></td>
	    <td align="left">
	    <a href='FlashAD_operate.aspx?id=<%#Eval("id")%>' target="_blank">编辑</a>
	    &nbsp;<asp:LinkButton ID="lbDelete" CommandName="deleteFlashAD" CommandArgument='<%#Eval("id")%>' runat="server" OnClientClick="return confirm('确定要删除此条信息吗?操作将不可恢复')" Text="删除" /></td>
	    </tr>
	    </ItemTemplate>
	    </asp:Repeater>
    </table>
    </div>
    </form>
    <script src="js/tablecolor.js"></script>
</body>
</html>
